package com.console.operations.fundmgr;

import com.common.test.OperationBase;
import com.common.test.UITestBase;
import com.console.pages.LinkPage;

	/**
		@author 王嘉犇
		@name 点击线下充值帐户转账审核链接
		@type 动作类
	 */

public class ClickOffLineRechargeAccountTransferAuditLink extends OperationBase {

	public ClickOffLineRechargeAccountTransferAuditLink(UITestBase tb){
		super(tb);
	}
	
	public void clickLink() throws Exception{
		switchToDefaultContent();
		LinkPage lp = new LinkPage(tb);
		//直到“资金管理”链接可见，超时就报错
		waitForElementDisplayed(lp.fundManageLnk);
		//点击“资金管理”链接
		lp.fundManageLnk.click();
		//直到“线下充值帐户转账审核”链接存在，超时就报错
		waitForElementExist(lp.offlineAcccountRechargeAuditLnk);
		pause(1000);
		//点击“线下充值帐户转账审核”链接
		lp.offlineAcccountRechargeAuditLnk.click();
	}
}
